package com.springbootblog.dao;

import com.springbootblog.dao.sqlBuilder.LabelSqlBuilder;
import com.springbootblog.pojo.Label;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface LabelDao
{
    @SelectProvider(type = LabelSqlBuilder.class, method = "getLabelCount")
    Integer getLabelCount();

    @SelectProvider(type = LabelSqlBuilder.class, method = "getLabelList")
    List<Label> getLabelList();
}